Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lldb] Add support for class info lookup from DWARF #8112

Merged
merged 1 commit into from
Feb 10, 2024

Conversation

augusto2112
Copy link

This patch expands the DWARFASTParserSwift's implementation of the DescriptorFinder interface to lookup classes debug information from DWARF.

lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserSwift.h Outdated Show resolved Hide resolved
@@ -31,3 +31,8 @@ def test(self):
)

# TODO: test enums when "rdar://119343683 (Embedded Swift trivial case enum fails to link)" is solved

self.expect("frame variable sup", substrs=["Sup) sup = ", "supField = 42"])

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you find the time, it would be neat to replace these with more accurate check_variable() calls

This patch expands the DWARFASTParserSwift's implementation of the
DescriptorFinder interface to lookup classes debug information from
DWARF.
@augusto2112
Copy link
Author

@swift-ci test

@augusto2112 augusto2112 merged commit 96e8d7c into swiftlang:stable/20230725 Feb 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants